package org.exteen.lib;

import org.exteen.exec.DynamicTag;
import org.exteen.parser.Node;

public class DynamicTagLibrary extends TagLibrary {

    public DynamicTagLibrary(String uri) {
        super(uri);
    }

    public void addTag(String name, Node root) {
        if (tags.get(name)==null) {
            tags.put(name, new DynamicTag(root));
        }
    }

    @Override
    public String toString() {
        return "DynamicTagLibrary(" + id + ")";
    }
}
